package net.martinimix.edesk.search;

import com.bluemartini.dna.BMException;
import com.bluemartini.dna.DNAList;
import com.bluemartini.dna.DNAStringArray;
import com.bluemartini.server.BusinessAction;

/**
 * Provides a business action that returns all searchable attributes
 * (currently none).
 * 
 * @author Scott Rossillo
 *
 */
public class GetSearchableAttributes extends BusinessAction {

	public DNAList execute(DNAList arg0) throws BMException {
		
		final DNAList response = new DNAList();
		final DNAStringArray searchableAttributeArray = new DNAStringArray();
		
		response.setStringArrayRef("SEARCHABLE_ATTRIBUTE_ARRAY", searchableAttributeArray);
		
		return response;
	}

}
